package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.entity.GongYingShangUser;

import java.util.List;

/**
 * <p>
 * 食堂档口供应商信息表 服务类
 * </p>
 *
 * @author qubaofeng
 * @since 2025-02-09
 */
public interface IGongYingShangUserService extends IService<GongYingShangUser> {

    List<GongYingShangUser> selectUserList(GongYingShangUser user);



    /**
     * 通过用户ID查询用户
     *
     * @param userId 用户ID
     * @return 用户对象信息
     */
    public GongYingShangUser selectUserById(Long userId);

    boolean haveUserName(GongYingShangUser user);

    boolean havePhonenumber(GongYingShangUser user);

    int insertUser(GongYingShangUser user);

    int deleteUserByIds(Long[] userIds);

    GongYingShangUser selectUserByName(String username);
}
